import {http} from "@/utils/http";

export const getDicts = (data) => {
    return http({
        url: '/api/common/dict/list',
        method: 'get',
        data: { dictKey: data }
    })
}

export const genQrcode = (id) => {
    return http({
        url: '/api/machine/qrcode',
        method: 'get',
        data: { id: id },
        responseType:'blob'
    })
}


